﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DailyDiet.Services.Constant
{
    public static class NotificationServiceConstant {
        public static readonly DateTime BaseDate = new DateTime(1970, 1, 1);


        public static Dictionary<string, (DateTime, DateTime)>
            BeginAndEndTimeOfMealtimes =
                new Dictionary<string, (DateTime, DateTime)>() {
                    {
                        GetRecServiceConstant.BREAKFAST,
                        (new DateTime(1970, 1, 1, 0, 0, 0,0),
                            new DateTime(1970, 1, 1, 7, 0, 0,0))
                    },
                    {
                        GetRecServiceConstant.LUNCH,
                        (
                            new DateTime(1970, 1, 1, 7, 0, 0,1),
                            new DateTime(1970, 1, 1, 11, 30, 0,0))
                    },
                    {
                        GetRecServiceConstant.DINNER,
                        (
                            new DateTime(1970, 1, 1, 11, 30, 0,1),
                            new DateTime(1970, 1, 1, 17, 29, 59, 999))
                    },
                };

        public static Dictionary<string, string> NextMealTimes =
            new Dictionary<string, string>() {
                {GetRecServiceConstant.BREAKFAST, GetRecServiceConstant.LUNCH},
                {GetRecServiceConstant.LUNCH, GetRecServiceConstant.DINNER},
                {GetRecServiceConstant.DINNER, GetRecServiceConstant.BREAKFAST}
            };
    }
}
